package com.hanma.service;

import com.hanma.bean.Comments;

import java.util.List;

public interface CommentsService {
    boolean insert(Comments comments);
    boolean delete(Integer id);
    boolean update(Comments comments);
    boolean updateHead(Integer uid, String img);
    boolean updateNickname(Integer uid, String nickname);
    Comments find(Integer id);
    List<Comments> findAll(Integer nid);
    List<Comments> findAllUser(Integer uid);
    List<Comments> findAllUser(Integer uid,Integer start,Integer size);

}
